<!-- FORM -->
	<form name="reg" method="post" onsubmit="return verify()" action="">
		<label for="firstname">First Name: <input type="text" id="firstname" name="firstname" required="required" maxlength=32></label>
		<label for="middlename">Middle Name: <input type="text" id="middlename" name="middlename" required="required" maxlength=32></label>
		<label for="lastname">Last Name: <input type="text" id="lastname" name="lastname" required="required" maxlength=32></label>
		<label for="sex">Sex: 
			<input type="radio" name="sex" value="M">Male
			<input type="radio" name="sex" value="F">Female
			<input type="radio" name="sex" Value="O">Other
		</label>
		
		<label for="birthday">Birthday: <input type="date" id="birthday" name="birthday"></label>
		
		<label for="accountType">Account Type: 
			<!--<select id="accountType" name="accountType" onChange="checkSelected()">-->
			<input type="radio" name="accountType" value="student" onClick="studentSelected()" checked="true">Student
			<input type="radio" name="accountType" value="adminStaff" onClick="adminStaffSelected()">Administrative Staff
			<input type="radio" name="accountType" value="instructor" onClick="instructorSelected()">Instructor
		</label>

		<!--View this when Student is selected-->
		<div id="divStudent">
			<label for="studentNumber">Student Number: <input type="text" id="studentNumber" name="studentNumber" size=10 maxlength=10></label>
			<label for="homeAddress">Home Address: <input type="text" id="homeAddress" name="homeAddress" maxlength=128></label>
			<label for="collegeAddress">College Address: <input type="text" id="collegeAddress" name="collegeAddress" maxlength=128></label>
			<label for="regdAdviser">Registration Adviser: 
				<select id="regdAdviser" name="regdAdviser">
					<?php
						$string = array("testregdAdviser","testregdAdviser2");
						foreach($string as $str){
							echo "<option value=\"". $str ."\">".$str."</option>";
						}
					?>
				</select>
			</label>
			<label for="SPAdviser">SP Adviser: 
				<select id="SPAdviser" name="SPAdviser">
					<?php
						$string = array("testSPAdviser","testSPAdviser2");
						foreach($string as $str){
							echo "<option value=\"". $str ."\">".$str."</option>";
						}
					?>
				</select>
			</label>
			<label for="curriculum">Curriculum: 
				<select id="curriculum" name="curriculum">
					<?php
						$string = array("testCurriculum","testCurriculum2");
						foreach($string as $str){
							echo "<option value=\"". $str ."\">".$str."</option>";
						}
					?>
				</select>
			</label>
		</div>
		
		<!--View this when Administrative staff is selected-->
		<div id="divAdminStaff" class="hidden">
			<label for="aSEmployeeNumber">Employee Number: <input type="text" id="aSEmployeeNumber" name="aSEmployeeNumber" size=14 maxlength=14></label>
			<label for="aSDesignation">Designation: <input type="text" id="aSDesignation" name="aSDesignation" size=14 maxlength=14></label>
			<!--ano yung maxlength ng designation?-->
		</div>
		
		<!--View this when Instructor is selected-->
		<div id="divInstructor" class="hidden">
			<label for="iEmployeeNumber">Employee Number: <input type="text" id="iEmployeeNumber" name="iEmployeeNumber" size=14 maxlength=14></label>
			<label for="iFacultyRoom">Fcaulty Room: <input type="text" id="iFacultyRoom" name="iFacultyRoom"></label>
			<label for="iDdesignation">Designation: <input type="text" id="iDesignation" name="iDesignation" size=14 maxlength=14></label>
			<label for="rank">Rank: 
				<select id="rank" name="rank">
					<?php
						$string = array("Instructor", "Professor", "Associate Professor");
						foreach($string as $x){
							echo "<option value=\"".strtolower($x)."\">".$x."</option>";
						}
					?>
				</select>
			</label>
		</div>
		<input type="hidden" value="student" name="chosentype">
		<input type="submit" value="Register" name="register" id="register">
	</form>
<!-- END FORM-->
		

		